package com.zipkin.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yuxin
 */
@RestController
//@SentinelResource(value = "zipkin")
@RequestMapping("/zipkin")
public class ZipkinController {
    @RequestMapping("/test")
    public String zipkinClient(){
        try {
            Thread.sleep(5);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        return "client send a messgae to server";
    }
}
